/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package objects;

import java.io.Serializable;

/**
 *
 * @author tinvukhac
 */
public class FileInfo implements Serializable {
    private int fileId;
    private String userId;
    private String fileName;
    private float fileSize;
    private String fileDescription;

    public FileInfo(){
        
    }

    public FileInfo(String userId, String fileName, float fileSize,String fileDescription) {
        this.userId = userId;
        this.fileName = fileName;
        this.fileSize = fileSize;
        this.fileDescription = fileDescription;
    }

    public FileInfo(int fileId, String userId, String fileName, float fileSize,String fileDescription) {
        this.fileId = fileId;
        this.userId = userId;
        this.fileName = fileName;
        this.fileSize = fileSize;
        this.fileDescription = fileDescription;
    }

    /**
     * @return the fileId
     */
    public int getFileId() {
        return fileId;
    }

    /**
     * @param fileId the fileId to set
     */
    public void setFileId(int fileId) {
        this.fileId = fileId;
    }

    /**
     * @return the userId
     */
    public String getUserId() {
        return userId;
    }

    /**
     * @param userId the userId to set
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * @return the fileName
     */
    public String getFileName() {
        return fileName;
    }

    /**
     * @param fileName the fileName to set
     */
    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    /**
     * @return the fileSize
     */
    public float getFileSize() {
        return fileSize;
    }

    /**
     * @param fileSize the fileSize to set
     */
    public void setFileSize(float fileSize) {
        this.fileSize = fileSize;
    }

    /**
     * @return the fileDescription
     */
    public String getFileDescription() {
        return fileDescription;
    }

    /**
     * @param fileDescription the fileDescription to set
     */
    public void setFileDescription(String fileDescription) {
        this.fileDescription = fileDescription;
    }
}
